/**
 * 
 * If you have edited the file, please update
 * all the last-modified fields manually. Thanks!
 *
 * @last-modified by: 
 * @last-modified date: 
 * @last-modified time: 
 *
 * @author Swee Zhi
 * @date-created Oct 26, 2011    @time-created 12:37:12 PM
 *
 * @project: 
 * @module: 
 * @institution: 
 *
 */
package util.entityhelper;

import entity.ItinerarySlotEntity;
import java.io.Serializable;
import java.util.Collection;
import java.util.Date;

public class DailyItineraryState implements Serializable {
    // daily itinerary
    private Long id;
    private Integer dayNo;
    private Date dayDate;
    
    private Collection<ItinerarySlotEntity> itinerarySlots;
    
    
    // formatted fields not in entity (for display purpose)
    private String localizedDayDate;
    
    
    public DailyItineraryState(Long id, Integer dayNo,
                               Date dayDate,
                               Collection<ItinerarySlotEntity> itinerarySlots) {
        this.id = id;
        this.dayNo = dayNo;
        this.dayDate = dayDate;
        this.itinerarySlots = itinerarySlots;
    }

    public Date getDayDate() {
        return dayDate;
    }

    public void setDayDate(Date dayDate) {
        this.dayDate = dayDate;
    }

    public Integer getDayNo() {
        return dayNo;
    }

    public void setDayNo(Integer dayNo) {
        this.dayNo = dayNo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Collection<ItinerarySlotEntity> getItinerarySlots() {
        return itinerarySlots;
    }

    public void setItinerarySlots(Collection<ItinerarySlotEntity> itinerarySlots) {
        this.itinerarySlots = itinerarySlots;
    }

    public String getLocalizedDayDate() {
        return localizedDayDate;
    }

    public void setLocalizedDayDate(String localizedDayDate) {
        this.localizedDayDate = localizedDayDate;
    }
   
}
